package com.leon.classify.domain;

import java.util.Set;

/**
 * RightArea entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class RightArea implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String rightAreaId;
	private Area area;
	private String areaName;
	private String areaDesc;
	private Integer displayOrder;
	private Integer state;
	private Set <AdvertPic> advertPics;
	private Set <SecondClass>secondClasses;

	// Constructors

	/** default constructor */
	public RightArea() {
	}

	/** full constructor */
	public RightArea(Area area, String areaName, String areaDesc,
			Integer displayOrder, Integer state, Set <AdvertPic> advertPics,
			Set <SecondClass> secondClasses) {
		this.area = area;
		this.areaName = areaName;
		this.areaDesc = areaDesc;
		this.displayOrder = displayOrder;
		this.state = state;
		this.advertPics = advertPics;
		this.secondClasses = secondClasses;
	}

	// Property accessors

	public String getRightAreaId() {
		return this.rightAreaId;
	}

	public void setRightAreaId(String rightAreaId) {
		this.rightAreaId = rightAreaId;
	}

	public Area getArea() {
		return this.area;
	}

	public void setArea(Area area) {
		this.area = area;
	}

	public String getAreaName() {
		return this.areaName;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}

	public String getAreaDesc() {
		return this.areaDesc;
	}

	public void setAreaDesc(String areaDesc) {
		this.areaDesc = areaDesc;
	}

	public Integer getDisplayOrder() {
		return this.displayOrder;
	}

	public void setDisplayOrder(Integer displayOrder) {
		this.displayOrder = displayOrder;
	}

	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Set<AdvertPic> getAdvertPics() {
		return advertPics;
	}

	public void setAdvertPics(Set<AdvertPic> advertPics) {
		this.advertPics = advertPics;
	}

	public Set<SecondClass> getSecondClasses() {
		return secondClasses;
	}

	public void setSecondClasses(Set<SecondClass> secondClasses) {
		this.secondClasses = secondClasses;
	}


}